package com.dys.entity;

import java.io.Serializable;

/**
 * @Author: 疾风
 * @ClassName: Clazz
 * @Description: 班级实体类
 * @CreateDate: 2024/09/26
 * @Version: v1.0.0
 */
public class Clazz implements Serializable {
    private int cid;
    private String cname;
    private String clocation;
    private String desc;

    public Clazz() {
    }

    public Clazz(String cname, String clocation, String desc) {
        this.cname = cname;
        this.clocation = clocation;
        this.desc = desc;
    }

    public Clazz(int cid, String cname, String clocation, String desc) {
        this.cid = cid;
        this.cname = cname;
        this.clocation = clocation;
        this.desc = desc;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getClocation() {
        return clocation;
    }

    public void setClocation(String clocation) {
        this.clocation = clocation;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "Clazz{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", clocation='" + clocation + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}
